<cpanel include="../../config.php">

<?

/***************************************************************************
 *                                 autoresponders_edit_done.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.0
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$output = <<<EOFpacman
<cpanel Email="addautoresponder($FORM{'email'},$FORM{'from'},$FORM{'subject'},$FORM{'body'},$FORM{'domain'},$FORM{'html'},$FORM{'charset'})">
EOFpacman;

//
// For the record, we hate having to use a 'done' page.
//

$html_root_path = '../../';
include $root_path.'common.php';
$page_title = $lang['autoresponder_edited'];
include $root_path.'page_header.php';


$email_address = <<<EOFpacman
<cpanel print="FORM{'email'}">@<cpanel print="FORM{'domain'}">
EOFpacman;

message_done(sprintf($lang['autoresponder_edited_message'], $email_address), $output, 'autoresponders_manage.php', $lang['autoresponder'], $page_title);

?>